Skip to content

Commit 6b4c120

Browse files
authored
Merge pull request #3946 from mickverm/initial-variables-duration
Add $duration to initial-variables
2 parents 6f49647 + e4daa24 commit 6b4c120

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- Fix #3842: restore use of `$easing`, `$radius-rounded` and `$speed` Sass variables
1212
- Fix #3920: migrate code to avoid Sass 1.80 deprecation warning of global built-in functions
13+
- Fix #3945: add `$duration` Sass variable
1314
- Fix #3822: Non-minified version of bulma-prefixed was missing
1415
- Fix #3805: helper classes were missing prefix
1516

@@ -40,7 +41,7 @@
4041
- `--bulma-input-border-width`
4142
- `--bulma-label-color`
4243
- `--bulma-label-spacing`
43-
- `--bulma-label-weight`
44+
- `--bulma-label-weight`
4445
- `--bulma-help-size`
4546
- `--bulma-field-block-spacing`
4647

@@ -77,7 +78,7 @@
7778
- Fix #3785: make use of the `@prefers-reduced-motion` setting
7879
- Fix #3758: broken links for `0.9.4` version
7980
- Fix #3760: fix form controls typo
80-
81+
8182
### Improvements
8283

8384
- Fix #3737: Move `sass` to `devDependencies`
@@ -167,7 +168,7 @@ The Sass placeholders are:
167168
- `%loader`
168169
- `%overlay`
169170

170-
If you were importing them directly from `utilities/mixins`, you'll need to import `utilities/extends` instead.
171+
If you were importing them directly from `utilities/mixins`, you'll need to import `utilities/extends` instead.
171172
If you were importing `utilities/_all` or even `bulma.sass` directly, no change is required.
172173

173174
### New features

docs/_data/variables/utilities/initial-variables.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@
184184
"name": "breakpoints",
185185
"value": "(\n \"mobile\": (\n \"until\": $tablet,\n ),\n \"tablet\": (\n \"from\": $tablet,\n ),\n \"tablet-only\": (\n \"from\": $tablet,\n \"until\": $desktop,\n ),\n \"touch\": (\n \"from\": $desktop,\n ),\n \"desktop\": (\n \"from\": $desktop,\n ),\n \"desktop-only\": (\n \"from\": $desktop,\n \"until\": $widescreen,\n ),\n \"until-widescreen\": (\n \"until\": $widescreen,\n ),\n \"widescreen\": (\n \"from\": $widescreen,\n ),\n \"widescreen-only\": (\n \"from\": $widescreen,\n \"until\": $fullhd,\n ),\n \"until-fullhd\": (\n \"until\": $fullhd,\n ),\n \"fullhd\": (\n \"from\": $fullhd,\n ),\n)"
186186
},
187+
{
188+
"name": "duration",
189+
"value": "294ms"
190+
},
187191
{
188192
"name": "easing",
189193
"value": "ease-out"

sass/themes/light.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ $scheme-main: hsl(iv.$scheme-h, iv.$scheme-s, $scheme-main-l);
7373

7474
// Other
7575
"block-spacing": iv.$block-spacing,
76-
"duration": 294ms,
76+
"duration": iv.$duration,
7777
"easing": iv.$easing,
7878
"radius-small": iv.$radius-small,
7979
"radius": iv.$radius,

sass/utilities/initial-variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ $breakpoints: (
134134

135135
// Miscellaneous
136136

137+
$duration: 294ms !default;
137138
$easing: ease-out !default;
138139
$radius-small: 0.25rem !default;
139140
$radius: 0.375rem !default;

0 commit comments

Comments
 (0)